package com.ayoka.parenting.ui.coach.studentmanager;

import com.ayoka.parenting.bean.PagerBean;
import com.ayoka.parenting.bean.StudentBean;
import com.ayoka.parenting.interf.RequestCallback;
import com.ayoka.parenting.mvp.BasePresenter;
import com.ayoka.parenting.mvp.BaseView;

import java.util.List;

/**
 * @ProjectName: MVPPlugin.
 * @ClassName: StudentManagerContract.
 * @Description: .
 * @Author: jincp.
 * @CreateDate: 2019/10/10 18:17.
 */
public class StudentManagerContract {

    interface View extends BaseView {
        void configStudentListData(PagerBean<StudentBean> data);
    }

    interface Presenter extends BasePresenter<View> {
        void getStudentListData(boolean isShowWaitDialog, int type, int pageNo, int managerType);

        void releaseStudent(String studentUid);
    }

    interface Model {
        void getStudentListData(BasePresenter presenter, int managerType, int pageNo, int pageSize, RequestCallback<PagerBean<StudentBean>> callback);
    }
}
